/**
 * Copyright (c) 2006-2007 Jinyi.lu
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of GNU LGPL license by gun.org
 * which accompanies this distribution, and is available at
 * http://gnu.feld-it.at/copyleft/lesser.html
 * 
 * Project Homepage : http://code.google.com/p/demou
 * Source Code: svn checkout http://demou.googlecode.com/svn/trunk/ demou
 * Mailing list : jinyi.lu@gmail.com
 *                stonelu@126.com
 *
 *  
 * Contributors:
 *     JinYi.Lu - initial API and implementation
 */
package cn.tworen.demou.rtmp;

/**
 * Created on  2007-1-18
 *
 * Title       : ClientInfo.java
 * Description : 
 * 
 * @author     : LuJinYi
 * @version    : 1.0
 * @Date       : 2007-1-18
 * History     : 
 * 
 */
public class ClientInfo {
	private String app = null ;
	private String flashVer = null ;
	private String swfUrl = null ;
	private String tcUrl = null ;
	private String[] argv = null ;
	private boolean fpad = false;
	private double audioCodecs = 0;
	private double videoCodecs = 0;
	private String pageUrl = null ;
	
	public static enum INFO{app,flashVer,swfUrl,tcUrl,fpad,audioCodecs,videoCodecs,pageUrl,objectEncoding};
	/**
	 * @hibernate.property
	 * @return Returns the app.
	 */
	public String getApp() {
		return app;
	}
	/**
	 * @param app the app to set
	 */
	public void setApp(String app) {
		this.app = app;
	}
	/**
	 * @hibernate.property
	 * @return Returns the flashVer.
	 */
	public String getFlashVer() {
		return flashVer;
	}
	/**
	 * @param flashVer the flashVer to set
	 */
	public void setFlashVer(String flashVer) {
		this.flashVer = flashVer;
	}
	/**
	 * @hibernate.property
	 * @return Returns the swfUrl.
	 */
	public String getSwfUrl() {
		return swfUrl;
	}
	/**
	 * @param swfUrl the swfUrl to set
	 */
	public void setSwfUrl(String swfUrl) {
		this.swfUrl = swfUrl;
	}
	/**
	 * @hibernate.property
	 * @return Returns the tcUrl.
	 */
	public String getTcUrl() {
		return tcUrl;
	}
	/**
	 * @param tcUrl the tcUrl to set
	 */
	public void setTcUrl(String tcUrl) {
		this.tcUrl = tcUrl;
	}
	/**
	 * @hibernate.property
	 * @return Returns the argv.
	 */
	public String[] getArgv() {
		return argv;
	}
	/**
	 * @param argv the argv to set
	 */
	public void setArgv(String[] argv) {
		this.argv = argv;
	}
	public boolean isFpad() {
		return fpad;
	}
	public void setFpad(boolean fpad) {
		this.fpad = fpad;
	}
	public double getAudioCodecs() {
		return audioCodecs;
	}
	public void setAudioCodecs(double audioCodecs) {
		this.audioCodecs = audioCodecs;
	}
	public double getVideoCodecs() {
		return videoCodecs;
	}
	public void setVideoCodecs(double videoCodecs) {
		this.videoCodecs = videoCodecs;
	}
	public String getPageUrl() {
		return pageUrl;
	}
	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}
}
